package com.ym.pms.service;

import com.github.pagehelper.PageInfo;
import com.ym.pms.model.Bunk;


public interface BunkService {

    public int add(Bunk bunk);
    public int delete(String bkCoding);
    public int update(Bunk bunk);
    public PageInfo findAll(int pageNum, int pageSize);
    public Bunk findByCoding(String bkCoding);
    public PageInfo findAllInRoom(String roomCoding, int pageNum, int pageSize);
    public PageInfo fuzzyQuery(Bunk bunk, int pageNum, int pageSize);
    public void changeStatus(String bkCoding);
    public int getMaxNo();
    public String getCoding();

    void deleteAllByRmCoding(String s);
}
